{% extends 'layouts/master.html' %}

{% set page = 'commits' %}

{% block title %}Gitamin{% endblock %}

{% block breadcrumb %}
     {% include 'partials/breadcrumb.html' with {breadcrumbs: [{dir: 'Blame', path:''}]} %}
{% endblock %}

{% block content %}

    <div class="source-view">
        <div class="source-header">
            <div class="meta">{{ file }}</div>
        </div>
        <table class="blame-view">
        {% for blame in blames %}
            <tr>
                <td class="commit"><a href="{{ route('commit', {owner: owner.slug, project: project.slug, commit: blame.commit}) }}">{{ blame.commitShort }}</a></td>
                <td><pre>{{ blame.line }}</pre></td>
            </tr>
        {% endfor %}
        </table>
    </div>

{% endblock %}
